import request from "./request"
//分页查询
export const PageQuery = (params) => {
  return request({
    url: "/admin/consumer/page",
    method: "get",
    params: params
  })
}
export const addConsumer = (data) => {
    return request({
      url: "/admin/consumer/addConsumer",
      method: "post",
      data: data
    })
  }
  export const DeleteUser = (id) => {
    return request({
      url: "/admin/consumer/deleteUser",
      method: "delete",
      params:{
        id : id
      }
    })
  }